package com.mbl.base.modular.config.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.List;

import com.mbl.base.core.common.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 配置字典表
 * </p>
 *
 * @author lwj
 * @since 2020-03-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("mbl_config_dict")
@ApiModel(value="Dict对象", description="配置字典表")
public class Dict extends BaseEntity<Dict> {

    @ApiModelProperty(value = "配置名称")
    private String name;

    @ApiModelProperty(value = "配置值")
    private String val;

    @ApiModelProperty(value = "唯一编码")
    private String code;

    @ApiModelProperty(value = "父节点")
    private Integer dictPid;

}
